package com.fyk.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 范宇坤
 * @date: 2021/8/4 14:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee {
    private Integer empId;      //用户id
    private String empPhoto;    //证件照地址
    private String empName;     //员工姓名
    private Boolean empSex;     //员工性别
    private String empNum;      //员工工号
    private String empPhone;    //员工电话
    private Double empSalary;   //员工薪水
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date empBirthday;   //员工生日
    private String empAddress;  //现居地址
    private String empJob;      //职位
    private String empDep;   //部门
}
